_package("mvcdemo.ui");

_class("HomeRender", RenderBase, function(){
	this.renderList = function(doc){
		var items = doc.getElementsByTagName("item");
		var str = "";
		for(var i =0; i<items.length; i++){
			var node = items[i].getElementsByTagName("title")[0];
			str += "<li>" + node.textContent + "</li>";
		}
		$E("list-wrap").innerHTML = str;	
	};
});